package io.lkt.modules.sys.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.lkt.common.utils.PageUtils;
import io.lkt.common.utils.Query;

import io.lkt.modules.sys.dao.BUserPromotionPaymentInfoDao;
import io.lkt.modules.sys.entity.BUserPromotionPaymentInfoEntity;
import io.lkt.modules.sys.service.BUserPromotionPaymentInfoService;


@Service("bUserPromotionPaymentInfoService")
public class BUserPromotionPaymentInfoServiceImpl extends ServiceImpl<BUserPromotionPaymentInfoDao, BUserPromotionPaymentInfoEntity> implements BUserPromotionPaymentInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BUserPromotionPaymentInfoEntity> page = this.page(
                new Query<BUserPromotionPaymentInfoEntity>().getPage(params),
                new QueryWrapper<BUserPromotionPaymentInfoEntity>()
        );

        return new PageUtils(page);
    }

}
